package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.baseData.entity.VillageTownCondition;
import com.css.fxfzypg.modules.baseData.queryParams.VillageTownConditionQueryParams;
import com.css.fxfzypg.modules.baseData.vo.VillageTownConditionVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface VillageTownConditionService {
    JSONObject getAllVillageTownCondition(VillageTownConditionQueryParams queryParams, int curPage, int pageSize);

    void saveVillageTownCondition(VillageTownCondition villageTownCondition) throws Exception;

    VillageTownConditionVO getVillageTownConditionById(String id);

    void delete(String id);

    void update(VillageTownCondition villageTownCondition);

    RestResponse excelImport(MultipartFile file)throws Exception;

    void cover(List<VillageTownCondition> list);
}
